//=============================================================================
// Territory Fail message, When your within enemy territory
//============================================================================= 
class TFTerrFailMsg extends LocalMessage;

static function string GetString(
    optional int Switch,
    optional PlayerReplicationInfo RelatedPRI_1,
    optional PlayerReplicationInfo RelatedPRI_2,
    optional Object OptionalObject
    )
{
    if(tfoutpost(OptionalObject)!=none) return switch$"m too close to enemy Outpost";
    else return switch$"m too close to enemy Basecore";
}

defaultproperties
{
     bIsUnique=True
     bIsConsoleMessage=False
     bFadeMessage=True
     DrawColor=(B=0,G=0)
}
